<extend name="Public/main" />

<block name="body">
	<div class="wrap J_check_wrap">
		<include file="Public/nav"/>
		<div class="h_a">角色信息</div>
		<form class="J_ajaxForm" action="{:U("Rbac/roleadd")}" method="post" id="myform">
			  <div class="table_full">
				<table width="100%">
					<tr>
						<th width="100">角色名称</th>
						<td><input type="text" name="name" value="{$data.name}" class="input" id="rolename"></input></td>
					</tr>
					<tr>
						<th>角色描述</th>
						<td><textarea name="remark" rows="2" cols="20" id="remark" class="inputtext" style="height:100px;width:500px;">{$data.remark}</textarea></td>
					</tr>
					<tr>
						<th>是否启用</th>
						<td><input type="radio" name="status" value="1"  <if condition="$data['status'] eq 1">checked</if>>启用<label>  &nbsp;&nbsp;&nbsp;&nbsp;<input type="radio" name="status" value="0" <if condition="$data['status'] eq 0">checked</if>>禁止</label></td>
					</tr>
				</table>
				<input type="hidden" name="id" value="{$data.id}" />

			</div>
			<div class="">
				<div class="btn_wrap_pd">             
					<button class="btn btn_submit mr10 J_ajax_submit_btn" type="submit">提交</button>
				</div>
			</div>
		</form>
	</div>
</block>
